package work_0318;

public class Main {

    //Shapes, Circles, Rectangles

    public static void main(String[] args) {
        Circles circles=new Circles();
        circles.go();
        circles.calculate(3.0);
        System.out.println("3直径的圆面积："+circles.calculateC());

        Rectangles rectangles=new Rectangles();
        rectangles.go();
        rectangles.calculate(3.0,6.0);
        System.out.println("宽3长6的矩形面积："+rectangles.calculateR());
    }
}
